package Course;

public class Course {

    private String courseId;
    private String courseName;
    private String location;
    private String time;
    private Teacher teacher;

    // 构造方法
    public Course(String courseId, String courseName, String location, String time, Teacher teacher) {
        this.courseId = courseId;
        this.courseName = courseName;
        this.location = location;
        this.time = time;
        this.teacher = teacher;
    }

    // Getter方法
    public String getCourseId() {
        return courseId;
    }

    public String getCourseName() {
        return courseName;
    }

    public String getLocation() {
        return location;
    }

    public String getTime() {
        return time;
    }

    public Teacher getTeacher() {
        return teacher;
    }

}
